#ifndef MAINWIDGE_H
#define MAINWIDGE_H

#include <QWidget>
#include <QPainter>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include "widget.h"
#include "login.h"

namespace Ui {
class mainwidge;
}

class mainwidge : public QWidget
{
    Q_OBJECT

public:
    explicit mainwidge(QWidget *parent = nullptr);
    ~mainwidge();
    void paintEvent(QPaintEvent *event);
private:
    Ui::mainwidge *ui;
    QLabel *label;
    QPushButton *start;
    QPushButton *exit;
    QVBoxLayout *qv;
    Login *x;
public slots:
     void startclick();//设置槽函数
};

#endif // MAINWIDGE_H
